<?php 
$childTypes= getChildTypeByParentId($types[0]['id']);$parentType=$childTypes[0];array_shift($childTypes);?>
<div class="type-list-nav-wrap">
  <div class="type-list-nav-bk1"></div>
  <ul class="type-list-nav">
    <volist name="childTypes" id="childType">
     <li>
      	<if condition="$childType['id'] eq $type['id']">
         <notempty name="childType.url"><a href="/category/{$childType.url}.html" class="active"><else/><a href="/category/{$childType.id}.html" class="active"></notempty>
      	<else/><notempty name="childType.url"><a href="/category/{$childType.url}.html"><else/><a href="/category/{$childType.id}.html"></notempty></if>  
       <i class="icon-chevron-right"> </i> {$childType.name}</a></li>
    </volist>  
  </ul>
  <div class="type-list-nav-bk2"></div>
</div>